import { lazy } from 'react';
import { ViewModuleIcon } from 'tdesign-icons-react';
import { IRouter } from '../index';

const result: IRouter[] = [
  {
    path: '/platform/order_detail',
    Component: lazy(() => import('pages/Order/Detail')),
    meta: {
      title: '订单详情',
      Icon: ViewModuleIcon,
    },
    // children: [
    //   {
    //     path: 'select',
    //     Component: lazy(() => import('pages/List/Select')),
    //     meta: { title: '筛选列表页' },
    //   },
    // ],
  },
  {
    path: '/client/order_detail',
    Component: lazy(() => import('pages/Order/Detail')),
    meta: {
      title: '订单详情',
      Icon: ViewModuleIcon,
    },
  },
];

export default result;
